<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body,
        p,
        h3 {
            margin: 0px;
        }

        .music-senve {
            width: 480px;
            height: 480px;
            /* border: 1px solid rebeccapurple; */
            margin: 49px auto 0px;
            position: relative;
        }

        .music-senve a {
            /* 如果img产生了空隙，那么我们就把他变成块级元素,然后给他宽高等*/
            display: block;
            height: 480px;
            background-color: red;
        }

        a {
            text-decoration: none;
            color: black;
        }

        .music-senve a .music-top {
            width: 180px;
            /* height: 50px; */
            /* background-color: antiquewhite; */
            background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0));
            position: absolute;
            top: 0px;
            right: 0px;

        }

        .music-senve a .music-top span {

            color: #ddd;
            font-size: 14px;
        }

        /* 加了浮动后，元素就具有inline-block的特性了 */
        .music-senve a .music-top .txt {
            /* display: inline-block; */
            height: 35px;
            /* width: 50px; */
            /* background-color: antiquewhite; */
            float: right;
            line-height: 35px;
            margin: 0px 10px;
        }

        .music-senve a .music-top .icon-iphone {
            /* display: inline-block; */
            height: 35px;
            width: 35px;
            /* background-color: aqua; */
            background: url(images/earphone.svg) no-repeat center;
            float: right;
            background-size: 20px;
        }

        .music-senve a .description {
            width: 100%;
            height: 80px;
            background-color: rgba(0, 0, 0, 0.5);
            position: absolute;
            bottom: 0px;
            font-size: 16px;
            /* left: 0px; */
        }

        .music-senve a .description h3 {
            color: #fff;
            font-weight: 400;
            padding: 15px 0px 5px 10px;
        }

        .music-senve a .description p {
            padding-left: 10px;
            color: #ddd;
            font-weight: 200;
        }

        .music-senve a .mask {
            background-color: rgba(0, 0, 0, 0.5);
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

        .button {
            width: 35px;
            height: 35px;
            background: url(images/play-button.svg) no-repeat center;
            position: absolute;
            bottom: 22px;
            right: 22px;
        }
    </style>
</head>

<body>
    <div class="music-senve">
        <a href="#">
            <img src="./images/kugou-img1.jpg" alt="" width="480px">
            <p class="music-top">
                <span class="txt">679.9万</span>
                <span class="icon-iphone"></span>
            </p>
            <div class="description">
                <h3>乡村之旅：安静惬意.与自然同在</h3>
                <p>蔓若</p>
            </div>
            <div class="mask"></div>
            <div class="button"></div>
        </a>
    </div>

</body>

</html>